﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MonitorPlan.Admin
{
    public partial class AdmintMaster : MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnHome_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Default.aspx");
        }

        protected void btnLogOut_Click(object sender, EventArgs e)
        {
            Session.Abandon();
            Response.Redirect("/Default.aspx");
        }

        protected void btnLocation_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Location.aspx");
        }

        protected void btnHouse_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/House.aspx");
        }

        protected void btnRoom_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Room.aspx");
        }

        protected void btnUser_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/User.aspx");
        }

        protected void btnTool_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Tool.aspx");
        }

        protected void btnSetting_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/System.aspx");
        }

        protected void btnContactSetting_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Contact.aspx");
        }

        protected void btnNotification_Click(object sender, EventArgs e)
        {
            Response.Redirect("/Admin/Notification.aspx");
        }
    }
}